package edu.utn.frba.procesamiento.grupo3.audio.algoritmos.convolucion;

import java.io.File;

import edu.utn.frba.procesamiento.grupo3.audio.NRFilterSignal;
import edu.utn.frba.procesamiento.grupo3.audio.algoritmos.NRAbstractAlgorithm;

public class NRConvolutionAlgorithm extends NRAbstractAlgorithm {

	public NRConvolutionAlgorithm(File sampleRecord, File noiseRecord,
			String outFileName) {
		super(sampleRecord, noiseRecord, outFileName);
	}
	
	public NRConvolutionAlgorithm() {
	}

	@Override
	protected double[] execute(double[] signal, double[] noise) {
		return NRFilterSignal.getFilteredSignal(signal, noise);
	}

}
